﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/philadmin/Philadmin.Master" CodeBehind="EditTestimonial.aspx.vb" Inherits="Phila.EditTestimonial" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table width="100%" cellpadding="3" cellspacing="3" align="center">
        <tr>
            <td>
                <h1>
                    Add/Edit Pages</h1>
                <fieldset>
                    <legend><b>Pages Details</b></legend>
                    <table width="98%" align="center" cellpadding="2" cellspacing="2">
                        <tr>
                            <td colspan="2" align="center">
                                <asp:Label ID="lblMsg" runat="server" ForeColor="Red" Font-Bold="True"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td width="180px">
                                <b>From Name</b>
                            </td>
                            <td>
                                <asp:TextBox ID="txtName" runat="server" MaxLength="500" Width="500px" CssClass="form-text"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="reqName" runat="server" ControlToValidate="txtName"
                                    Display="Dynamic" ErrorMessage="&lt;br /&gt;Enter Page Name"
                                    ValidationGroup="submit" CssClass="red"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <b>Date</b>
                            </td>
                            <td>
                                <asp:TextBox ID="txtDate" runat="server" CssClass="form-text datepicker"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <strong>Message</strong>
                            </td>
                            <td>
                                <cc1:Editor ID="txtMessage" runat="server" Height="300px" Width="100%" />
                            </td>
                        </tr>
                        <tr>
                            <td width="180px">
                                <b>Photo</b>
                            </td>
                            <td>
                                <asp:FileUpload ID="fileUpload" runat="server" />
                                <asp:CustomValidator ID="CustomValidator1" runat="server" ClientValidationFunction="ValidateFileUpload"
                                    ValidationGroup="icon" ErrorMessage="Only .jpg,.gif Files Accept" Text="*" ControlToValidate="fileUpload"
                                    Display="Dynamic" SetFocusOnError="true" CssClass="red"></asp:CustomValidator>
                                <asp:Literal ID="ltrImg" runat="server"></asp:Literal>
                                <%--<asp:LinkButton ID="cmdRemove" runat="server"><u>Remove</u></asp:LinkButton>--%>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <strong>IsActive</strong>
                            </td>
                            <td>
                                <asp:CheckBox ID="chkActive" runat="server" Checked="True" />
                            </td>
                        </tr>
                    </table>
                </fieldset>
                <br />
                <br />
                <fieldset>
                    <table width="98%" cellpadding="2" cellspacing="2" align="center">
                        <tr>
                            <td colspan="2" align="center">
                                <asp:Button ID="btnSave" runat="server" Text="Save" ValidationGroup="submit" CssClass="form-button" />&nbsp;&nbsp;
                                <asp:Button ID="btnCancel" runat="server" Text="Cancel" CssClass="form-button" />
                            </td>
                        </tr>
                    </table>
                </fieldset>
                <br />
                <br />
            </td>
        </tr>
    </table>
                                <asp:ScriptManager ID="ScriptManager1" runat="server">
                                </asp:ScriptManager>
</asp:Content>
